//
//  UILabel+Additional.m
//  DouBan
//
//  Created by 陈清源 on 15/8/4.
//  Copyright (c) 2015年 cq. All rights reserved.
//

#import "UILabel+Additional.h"

@implementation UILabel (Additional)

- (instancetype) initWithFrame:(CGRect)frame text:(NSString *)text textAlignment:(NSTextAlignment)alignment font:(UIFont *)font
{
    //在类目里面，初始化第一步关键字并不是 采用super来执行，而是让自身self去执行。
    self = [self initWithFrame:frame];
    if (self) {
        self.text = text;
        self.textAlignment = alignment;
        self.font = font;
    }
    return self;
}



@end
